{* Template Name:首页及列表页 *}
{template:header}
<body>
{template:post-header}
<div class="main-content index-page clearfix{if $zbp->Config('pinghsu')->postListSwitch == 'oneList'} onelist-page{/if}">
	<div class="post-lists">
		<div class="post-lists-body">
		{foreach $articles as $article}
            {if $article.IsTop}
            	{template:post-istop}
            {else}
            	{template:post-multi}
            {/if} 
		{/foreach}
		</div>
	</div>
	<div class="lists-navigator clearfix">
    <ol class="page-navigator">{template:pagebar}</ol>
  </div>
</div>
{template:footer}
